import instance from "@/utils/request";

// 获取开班计划列表
export  const  getNewClazzList  = (searchForm)=> instance.post("/schedules/list",searchForm)
// 添加或修改开班计划
export  const  saveOrUpdate  = (form)=> instance.post("/schedules/saveOrUpdate",form)
// 根据id获取开班计划
export  const  getScheduleById  = (id)=> instance.get("/schedules/getScheduleById/"+id)
// 根据id删除开班计划
export  const removeScheduleById  = (id)=> instance.delete("/schedules/"+id)
